package com.gange.springboot.service;

import com.gange.springboot.entity.User;

import java.util.List;

public interface UserService {
    //根据账号和密码查询出来用户对象
    public User login(String name, String pwd);
    void insert(User user);
    int delete(int id);
    void update(User user);
    List<User> selectAll();
    User selectById(int id);
}
